#! /usr/bin/make

# UNIX style makefile for the linux PIC downloader as found at
# http://www.workingtex.com/htpic

CFLAGS= -Wall

all: PIC_downloader



PIC_downloader: PIC_downloader.o serial.o gethex.o
	$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ -static -Wall

downldr.o: serial.h gethex.h proto.h


gethex.o: gethex.h

clean: 
	-rm *.o picdl rm -f picdl *.o *.bak *~ PIC_downloader
